﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;

namespace WebAPI.Models
{
    public class Goods
    {
        public int GoodsId { get; set; }
        public string GoodsName { get; set; }
        public int GoodsTypeId { get; set; }
        public float GoodsPrice { get; set; }
        public DateTime GoodsPostTime { get; set; }
        //库存
        public int GoodsStoreNum { get; set; }
        //市场价
        public float GoodsMarketPrice { get; set; }
        //积分
        public int GoodsIntegral { set; get; }
        //商品详情
        public string GoodsContent { set; get; }
        //商品规则参数
        public string GoodsRule { set; get;}

        #region 扩展字段
        //商品列表页面的图片url
        [ReadOnly(true)]
        public string GoodsDisplayImgUrl { get; set; }
        #endregion
    }
}